package info.nixbear.tgcms.admin.shared.request;

import java.util.Date;
import java.util.List;

import info.nixbear.tgcms.domain.Page;
import info.nixbear.tgcms.services.dao.EntityLocator;

import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.EntityProxyId;
import com.google.web.bindery.requestfactory.shared.ProxyFor;

@ProxyFor(value=Page.class,locator=EntityLocator.class)
public interface PageProxy extends EntityProxy {

	public Long getId();

	public Long getVersion();

	public void setVersion(Long version);

	public String getUrl();

	public void setUrl(String url);

	public String getTitle();

	public void setTitle(String title);

	public String getContentAsString();

	public void setContentAsString(String content);

	public Date getDate();

	public void setDate(Date date);

	public Boolean getPublished();

	public void setPublished(Boolean published);

	public TemplateProxy getTemplate();

	public void setTemplate(TemplateProxy template);
	
	public List<StringTextKvpProxy> getAttributesList();

	public void setAttributesList(List<StringTextKvpProxy> attributes);

	public List<AttachmentProxy> getAttachments();

	public void setAttachments(List<AttachmentProxy> attachments);

	EntityProxyId<? extends PageProxy> stableId();

}